//
//  NoteBuinessLogic.h
//  NoteDemo
//
//  Created by 郑火 on 16/2/17.
//  Copyright © 2016年 zwz. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NoteBusinessLogicDelegate.h"
#import "NoteDAO.h"
#import "NoteDAODelegate.h"
@interface NoteBuinessLogic : NSObject<NoteDAODelegate>
@property (weak, nonatomic) id <NoteBusinessLogicDelegate> delegate;

/**
 *  插入Note
 *
 *  @param model <#model description#>
 */
-(void) createNote:(Note*)model;

/**
 *  删除Note
 *
 *  @param model <#model description#>
 */
-(void) deleteNote:(Note*)model;

/**
 *  查询所有Note
 */
-(void) findAllNotes;

/**
 *  修改Note
 *
 *  @param model <#model description#>
 */
-(void) modifyNote:(Note*)model;
@end
